package com.heima.mapper;

import com.heima.pojo.TbOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author AkiRinko
 * @since 2024-06-11
 */
public interface TbOrderMapper extends BaseMapper<TbOrder> {

    /**
     * 订单总量
     * @param start
     * @param end
     * @return
     */
    String selectOrderCount(String start, String end);

    /**
     * 当月销售额
     * @param start
     * @param end
     * @return
     */
    Integer selectOrderAmount(String start, String end);
}
